package mybatis.bean;

import java.util.List;

public class Department {
	
	private Integer id;
	
	private String department;
	
	private Integer depid;
	
	private List<Employee> emps;
	

	public List<Employee> getEmps() {
		return emps;
	}


	public void setEmps(List<Employee> emps) {
		this.emps = emps;
	}


	public Department() {
		super();
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getDepartment() {
		return department;
	}


	public void setDepartment(String department) {
		this.department = department;
	}


	public Integer getDepid() {
		return depid;
	}


	public void setDepid(Integer depid) {
		this.depid = depid;
	}


	@Override
	public String toString() {
		return "Department [id=" + id + ", department=" + department + ", depid=" + depid + ", emps=" + emps + "]";
	}

}
